package hy.beans;

import org.springframework.context.annotation.Import;



public class User {
    String name;
    public Dog d;

    public Dog getD() {
        return d;
    }

    public void setD(Dog d) {
        this.d = d;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public User(String name) {
        this.name = name;
    }

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                '}';
    }
}
